package cn.justforchris.blog.service;


import cn.justforchris.blog.domain.Article;
import cn.justforchris.blog.domain.Comment;
import cn.justforchris.blog.query.CommentQuery;
import cn.justforchris.blog.query.QueryPage;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 评论业务接口
 */
public interface ICommentService {

    List<Comment> findByArticleId(Long id);

    void add(Comment comment);

    void update(Comment comment);

    void delete(String id);

    PageInfo<Comment> queryPage(CommentQuery queryPage);
}
